package xiyuan.data;

import java.sql.Timestamp;

/**
 * AbstractKeyword entity provides the base persistence definition of the
 * Keyword entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractKeyword implements java.io.Serializable {

	// Fields

	private Integer id;
	private String uid;
	private String keyword;
	private Double weight;
	private Timestamp date;

	// Constructors

	/** default constructor */
	public AbstractKeyword() {
	}

	/** full constructor */
	public AbstractKeyword(String uid, String keyword, Double weight,
			Timestamp date) {
		this.uid = uid;
		this.keyword = keyword;
		this.weight = weight;
		this.date = date;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUid() {
		return this.uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}

	public String getKeyword() {
		return this.keyword;
	}

	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}

	public Double getWeight() {
		return this.weight;
	}

	public void setWeight(Double weight) {
		this.weight = weight;
	}

	public Timestamp getDate() {
		return this.date;
	}

	public void setDate(Timestamp date) {
		this.date = date;
	}

}